package com.clm.service;

import com.clm.vo.OrderReportVO;
import com.clm.vo.SalesTop10ReportVO;
import com.clm.vo.TurnoverReportVO;
import com.clm.vo.UserReportVO;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletResponse;
import java.time.LocalDate;

/**
 * @Author dinghuapeng
 * @Date 2023/11/20 17:01
 * @PackageName:com.clm.service
 * @ClassName: ReportService
 * @Description: TODO
 * @Version 1.0
 */
@Service
public interface ReportService {
    TurnoverReportVO getTurnover(LocalDate begin, LocalDate end);

    UserReportVO getuserStatistics(LocalDate begin, LocalDate end);

    OrderReportVO getOrderStatistics(LocalDate begin, LocalDate end);

    SalesTop10ReportVO getSalesTop10(LocalDate begin, LocalDate end);

    void exportBusinessData(HttpServletResponse response);
}
